﻿using MiniExcelLibs.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zo.ExcelBox.Base;

namespace Zo.ExcelBox.Models
{
    /// <summary>
    /// 电诈银行卡
    /// </summary>
    public class JudicialCaseTransactionRecord_BankCard
    {
        /// <summary>
        /// 交易户名
        /// </summary>
        [ExcelColumn(Name = "查询账号姓名")]
        public string AccountName { get; set; }

        /// <summary>
        /// 交易卡号
        /// </summary>
        [ExcelColumn(Name = "查询账号")]
        public string CardNumber { get; set; }

        /// <summary>
        /// 开户银行
        /// </summary>
        [ExcelColumn(Name = "账号开户行")]
        public string BankName { get; set; }


        [ExcelColumn(Name = "交易时间")]
        public string LongTime { get; set; }

        /// <summary>
        /// 交易时间
        /// </summary>
        public DateTime TransactionTime
        {
            get
            {
                return LongTime.Trim().StringToData();
            }
        }

        /// <summary>
        /// 出入账标识
        /// </summary>
        [ExcelColumn(Name = "借贷标志")]
        public string TransactionDirection { get; set; }

        /// <summary>
        /// 交易金额
        /// </summary>
        [ExcelColumn(Name = "金额")]
        public decimal TransactionAmount { get; set; }

        /// <summary>
        /// 账户余额
        /// </summary>
        [ExcelColumn(Name = "余额")]
        public decimal AccountBalance { get; set; }

        /// <summary>
        /// 交易流水号
        /// </summary>
        [ExcelColumn(Name = "交易流水号")]
        public string TransactionId { get; set; }

        /// <summary>
        /// 对手户名
        /// </summary>
        [ExcelColumn(Name = "对方账号姓名")]
        public string CounterpartyName { get; set; }

        /// <summary>
        /// 对手身份证号
        /// </summary>
        [ExcelColumn(Name = "对方证件号码")]
        public string CounterpartyIdNumber { get; set; }

        /// <summary>
        /// 对手卡号
        /// </summary>
        [ExcelColumn(Name = "对方账号卡号")]
        public string CounterpartyCardNumber { get; set; }

        /// <summary>
        /// 对手开户银行
        /// </summary>
        [ExcelColumn(Name = "对方账号开户行")]
        public string CounterpartyBank { get; set; }

        /// <summary>
        /// 摘要
        /// </summary>
        [ExcelColumn(Name = "交易摘要")]
        public string Summary { get; set; }

        /// <summary>
        /// 备注（交易相关的额外说明信息）
        /// </summary>
        [ExcelColumn(Name = "备注")]
        public string Remarks { get; set; }

        /// <summary>
        /// IP地址
        /// </summary>
        [ExcelColumn(Name = "ip地址")]
        public string IP { get; set; }

        /// <summary>
        /// MAC地址
        /// </summary>
        [ExcelColumn(Name = "mac地址")]
        public string MAC { get; set; }

        /// <summary>
        /// 现金标志
        /// </summary>
        [ExcelColumn(Name = "现金标志")]
        public string CashFlag { get; set; }

        /// <summary>
        /// 交易类型
        /// </summary>
        [ExcelColumn(Name = "交易类型")]
        public string TransactionType { get; set; }

        /// <summary>
        /// 币种
        /// </summary>
        [ExcelColumn(Name = "币种")]
        public string Currency { get; set; }

        /// <summary>
        /// 交易发生地
        /// </summary>
        [ExcelColumn(Name = "交易发生地")]
        public string TransactionLocation { get; set; }

        /// <summary>
        /// 交易网点号
        /// </summary>
        [ExcelColumn(Name = "交易网点代码")]
        public string BranchCode { get; set; }


        /// <summary>
        /// 交易成功标志
        /// </summary>
        [ExcelColumn(Name = "交易结果")]
        public string SuccessFlag { get; set; }
    }
}
